package com.example.osixaffairssystem.service;

import com.example.osixaffairssystem.domain.PageBean;
import com.example.osixaffairssystem.domain.model.Dept;

import java.util.List;

public interface DeptService {

    List<Dept> list();

    PageBean<Dept> listToPage(Integer page, Integer pageSize);

    Integer insert(Dept dept);

    void update(Dept dept);

    void delete(List<Integer> ids);
}
